:root {
  --navy: #1b324f;
  --lightblue: #b1e3e3;
  --teal: #00a5a6;
  --primary-color: #f7f7f7;
  --secondary-color: #212121;
  --lightgrey: #efefef;
  --darkgrey: #646464;
  --navbg: var(--navy);
  --navcol: #fff; 
  --linkcol: #000;
  --cream: #f8ecde;
}
/* root variables cannot be used in media queries so here for reference only:
  36em/57.6rem phone (Small devices (landscape phones, 576px and up)
  48em/76.8rem tablet (Medium devices (tablets, 768px and up)
  62em/99.2rem desktop (Large devices (desktops, 992px and up)
  75em/120rem large desktop (Large devices (desktops, 1200px and up)
  120em/192rem Pro/designer desktop (Large devices (desktops, 1920px and up, e.g. most pro design screens) 
*//* National 2 font */

@font-face {
    font-family: "National 2 Regular";
    font-style: normal;
    font-weight: 500;
    src: url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-regular.woff2') format('woff2'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-regular.woff') format('woff'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-regular.eot') format('eot');
}

@font-face {
    font-family: "National 2 Light Italic";
    font-style: normal;
    font-weight: 500;
    src: url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-light-italic.woff2') format('woff2'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-light-italic.woff') format('woff'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-light-italic.eot') format('eot');
}

@font-face {
    font-family: "National 2 Bold";
    font-style: normal;
    font-weight: 500;
    src: url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-bold.woff2') format('woff2'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-bold.woff') format('woff'),
         url('https://dwvt5wwshu97q.cloudfront.net/uploads/202/themes/614/fonts/national-2-web-bold.eot') format('eot');
}

body,p,h1,h2,h3,h4,h5 {margin:0;padding:0;}/* reset */

.body, details h3 {
  font-family: "National 2 Regular", "Helvetica", arial, sans-serif;
  font-size:1.7rem;
}

p,h1,h2,h3,h4,h5 {margin-bottom:1rem;}

h1,h2,h3,h4,h5,b,strong {
  font-family: "National 2 Bold", "Helvetica", arial, sans-serif;
}
h1 + h2 {margin-top:1em;} /* adds margin to h2's when a subheading and in mobile view */

h1 {font-size: 2.5em;}
h2 {font-size: 2em;}

.welcome-paragraph {
  font-family: "National 2 Light Italic", "Helvetica", arial, sans-serif;
}

.lead {font-size:1.3em;}
.center {text-align:center;}
.strong {font-weight:bold;}/* ---------------------------------
    Navbar styles 
   --------------------------------- */
.navbar-section {
  padding-top: 0;
  padding-bottom: 0;
  /* navbar account name color */
  color: var(--navcol);
  /* navbar color */
  background-color: var(--navbg);
}

/* navbar icons text color */
.navbar-section .selection-count,
.navbar-section .avatar-user-dropdown,
.nav-icon-text,
/* mobile menu */
.navbar-section-content a,
.navbar-section-content .dropdown-button {
  color: var(--navcol);
}

.navbar-section-content {
  font-size: 1.6rem;
}

.navbar-section-content .css-icon {
  color: var(--teal);
}

/* navbar user dropdown border color */
.navbar-section .avatar-user-dropdown {
  border-color: var(--navcol);
}

/* dropdown */
.navbar-section-content .dropdown-button:hover,
.navbar-section-content .dropdown-button:focus-within {
  opacity: 0.7;
}

/* caret icon changes direction when menu is open - preview bar and search filters too */
.dropdown-button:focus-within .css-icon-caret-down,
.filter-name:focus-within .css-icon-caret-down {
  transform: rotate(180deg);
}

/* nav dropdown mobile */
.navbar-section-content .dropdown-content {
  background-color: var(--navbg);
  color: var(--navcol);
  border: none;
  width: max-content;
  box-shadow: none;
}

/* user dropdown */
.user-dropdown .dropdown-options {
  background-color: var(--navbg);
  color: var(--navcol);
  margin-top: 7rem;
  border: none;
  border-radius: 0;
}

.navbar-section-content .dropdown-content a:hover,
.user-dropdown .dropdown-options a:hover {
  background-color: var(--teal);
  opacity: 1;
}

/* Hide logo and account name on mobile */
.account-logo .logo {
  display: none; 
  max-height: 4rem;
}

span.account-name {
  font-size: 1.6rem;
  display: none;
}

@media (min-width: 62em) {
  /* Adjust height and spacing for logo on desktop */
  .navbar-section {
    height: 12rem;
  }
  
  /* align nav content to the right side */
  .navbar-section-content {margin-left: auto; margin-right: 2rem; gap:2.5rem;}
  .user-actions {margin-left: 2rem;}
  
  .account-logo .logo,
  span.account-name {
    display: block;
    max-height: 12rem;
    padding: 2rem 0;
  }
  /* nav dropdown desktop */
  .navbar-section-content .dropdown-content {
    box-shadow: 0 .8rem 1.6rem #0003;
    max-height: 80vh;
    overflow-y: scroll;
  }
}.footer-section {
  background-color: var(--navy);
  color: #fff;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  padding: 4rem;
  gap: 1rem;
}

.footer-menu-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  max-width: 30rem;
  width: 100%;
}

.footer-top article ul {list-style:none;}
  
.footer-top article li a {text-decoration:none;}

.footer-top-section-left, .footer-top-section-right {
    font-size: 1.6rem;
    color: #fff;
}

.copyright {
  font-size: 1.4rem;
}

@media (min-width:62em) {
  .footer-top-section-left {
width: auto;
text-align: left;
  }
  
  .footer-top-section-right {
    width: auto;
    text-align: right;
  }
  
  .footer-menu {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding: 0 4rem 4rem;
  }
}





/* ---------------------
   Main Elements
   --------------------- */
.body {
  background-color: var(--primary-color);
}
.main {margin-top: 7rem;}
@media screen and (min-width: 62em) {
  .main {margin-top: 12rem;}
}
.preview-mode .main {padding-top: 6rem;}

.welcome-paragraph {
  font-size: 2rem;
  padding-top: 3rem;
}

section#intro {
  text-align: left;
  margin-top: -3rem;
}

section#browse {
  text-align: center;
}

section#browse .links-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

section#browse .button-row {justify-content: center;}

section#browse .link {
  line-height: 3.6rem;
  font-family: "National 2 Regular";
  font-weight: bold;
  border: 1px solid var(--navy);
  padding: 0.5rem 2rem;
  text-decoration: none;
}

mark {
padding: 1rem 2rem;
background-color: #f9d147;
    color: black;
}

/* fix code wrapping on mobile */
pre {
font-family: monospace,monospace;
font-size: 1em;
max-width: 100%;
overflow: auto;
white-space: normal;
}

/* ----------------
   Search widget
   ---------------- */

.search-section {
  max-width: 120rem;
  margin: 5rem auto; 
}

.search-label{
  display: none;
}

.filters{
  justify-content: center;
}

.search-grid-section .page-actions, 
.search-grid-section .grid, 
.search-grid-section .assets-pagination {
  background-color: var(--primary-color);
  padding-bottom:4rem;  
}
.change-grid-view .icon-text {
display: none;
}

.file-icon::before{
  border-color: var(--primary-color) var(--primary-color) rgba(255, 255, 255, .3) rgba(255, 255, 255, .35);
}

/* ----------------
   Masonry view 
   ----------------- */
.masonry-asset {
  margin-bottom: 2rem;
  background-color: white;
  padding: 0;
  float: left;
}
.masonry-asset:hover {opacity:0.6;}
.masonry-asset .asset-grid-icon {position:relative;}
.masonry-asset .asset-grid-name {margin-left:0;}

/* ------------
Feed view 
---------------- */
.feed-view .asset-name {
text-align:left;
  justify-content:left;
}
.feed-view .asset-grid-name {
  font-size: 1.2em;
  text-align:left;
  font-weight:bold;
}
.feed-view .feed-asset-type-icon {display:none;}

/* ------------
   Gallery 
   ------------ */

/*-- Mobile --*/
.gallery-link,
.gallery-image {
  height: 8rem;
}

/*-- Desktop --*/
@media (min-aspect-ratio: 1/1) {
  .gallery-link,
  .gallery-image {
    height: 16rem;
  }
}


/* --------------
   Home Page 
   -------------- */
.intro-logo {
max-width:20rem;
}


/* custom social links article */
.social-links {margin-top:5em;}
.social-links a {font-size:2rem;padding:1rem 2rem;}
/* end */

/* fix download form terms field separation issue */
.form-checkbox.terms {
margin: 5rem 0;
}
/* Grid assets and Asset details page */

/* content additions */
.asset-info span:not(.asset-id, .asset-source):before,
.AssetView .asset-size:before,
.AssetView .asset-dimensions:before,
.AssetView .asset-word-count:before {
  content: ' • ';
}

.AssetView .asset-latitude:before {
  content:'Latitude: ';
}

.AssetView .asset-longitude:before {
  content:'Longitude: ';
}

.asset-source:before {
  content: 'src: ';
}

.asset-licence-value:before {
  content: ' -';
  margin-right: 0.5rem;
}

/* Hidden */
.asset-details-section .asset-type,
.asset-tags-title,
.asset-size-title,
.asset-dimensions-title,
.asset-created-at,
.asset-id-title,
.asset-licence-title,
.asset-word-count-title,
.collections-section-title {
  display: none;
}

/* Layout */

.asset-page-wrapper {
  padding: 2rem 2em;
}
@media (min-width:768px) {
  .asset-page-wrapper {
    padding: 6rem 6em;
  }
}

.asset-page-wrapper .section {
  padding: 1rem 0;
}

.asset-details-section {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.9rem;
}

.asset-details-section article {
  flex: 0 0 100%;
}                                                                                                       

.asset-details-section .asset-size,
.asset-details-section .asset-dimensions,
.asset-details-section .asset-extension,
.asset-details-section .asset-id,
.asset-details-section .asset-word-count {
  flex: 0 0 auto;
}

.related-assets-section {
  border-top: 1px dotted color-mix(in srgb, var(--color-body-text) 20%, transparent);
  padding-bottom: 4rem;
}

/* Grid area ordering */ 

.AssetView .asset-name {
  order: 1;
  width: 100%;
}

.AssetView .asset-type-icon {
  order: 2;
}

.AssetView .asset-id {
  order: 3;
}

.AssetView .asset-word-count {
  order: 4;
}

.AssetView .asset-size {
  order: 5;
}

.AssetView .asset-dimensions {
  order: 6;
}

.AssetView .asset-description {
  order: 7;
}

.AssetView .asset-ai-description {
  order: 7;
}

.AssetView .asset-licence {
  order: 8;
}

.AssetView .asset-terms-of-use {
  order: 9;
  padding-bottom: 1rem;
}

.AssetView .asset-expiry-date {
  order: 10;
}

.AssetView .asset-created-at {
  order: 12;
}

.AssetView .asset-credit {
  order: 13;
}

.AssetView .asset-usage {
  order: 14;
}

.AssetView .asset-reference {
  order: 15;
}

.AssetView .asset-account {
  order: 15;
}

.AssetView .asset-location {
  order: 16;
}

.asset-page-wrapper {
  grid-template-areas: "breadcrumb breadcrumb breadcrumb" "proxy proxy proxy" "details details details"  "tags tags tags" "actions actions actions";
}
.asset-page-wrapper.post {
  grid-template-areas: "breadcrumb breadcrumb breadcrumb" "proxy proxy proxy" "tags tags tags" "actions actions actions";
}

@media (min-width:36em) {
  .asset-page-wrapper .section {padding: 0;}
  .asset-page-wrapper .asset-tags-section {padding: 3rem 0;}
  .asset-proxy-section {margin-right: 5rem;}
  .asset-page-wrapper {
    grid-template-areas: "breadcrumb actions actions" "proxy proxy details" "proxy proxy tags";
  }
  .asset-page-wrapper.post {
    grid-template-areas: "breadcrumb actions actions" "proxy proxy proxy" "tags tags tags";
  }
}
/* Sign Up Page styles */
.new-account-section .form-section {
  background-color:transparent;
  padding:0;
}

.new-account-hint {font-size:2.5rem;}

.new-account-section .form-section form {
  background-color:antiquewhite;
  border-radius:1em;
  padding:1em;
}

@media screen and (min-width: 75em) {
  .new-account-section .form-section {
    width: 33vw;
    min-width:30em;
    margin:1em auto;
    background-color:transparent;
  }
  .new-account-section .form-section form {
    background-color:antiquewhite;
    border-radius:1em;
    padding:2em;
  }
  .new-account-section .new-account-embeded-image {
    padding:3rem;
    max-width:66vw;
  }
  blockquote {padding:2em;}
  blockquote span {
    display:block;
    width:100%;
    font-size:2.2rem;
    font-weight:bold;
  }
  blockquote cite {
    display:block;
    width:100%;
    font-size:1em;
    text-align:center;
  }
  .signup-faq {
    margin:2.5%;
    text-align:left!important;
    padding-top:1em;
  }
}
.desktop {display:none;}

@media screen and (min-width: 62em){
  .desktop {display:block;}
  .mobile {display:none;}
}

/* faq styles */
dl {
  column-count: 1;
  column-gap: 0rem;
}

.fw dl {
  column-count: 1;
  column-gap: 0rem;
}
@media (min-width:48em) {
  dl {
    column-count: 2;
    column-gap: 5rem;
  }
  .fw dl {
    column-count: 3;
    column-gap: 5rem;
  }
}

dt {font-weight:bold;}
dt.subtitle {
  border-bottom: 2px solid #000;
  margin:2rem 0;
}
dt.subtitle:first-child {
  border-bottom: 2px solid #000;
  margin:0 0 2rem 0;
}
dd {margin-bottom:1rem;}
.bk-wall .brandkit-logo,
.bk-wall .logo {
  max-height: 20rem;
}

@media screen and (min-width: 36em) {
  .bk-wall {
    margin: 10em auto 4em auto;
    padding:3rem 6rem
  }
}

@media screen and (min-width: 48em) {
  .bk-wall {
    margin: 10em 4em;
  }
}
.reset-password-section {
  background-color:#fff;
  width:fit-content;
  margin:0 4em;
}/* reset section padding on occasion */
.tight-bottom {padding-bottom:0;}
.tight-top {padding-top:0;}
.tight-left {padding-left:0;}
.tight-right {padding-right:0;}

section.blackbg {
  background-color: #121212;
  color: #fff!important;
}
section.whitebg {
  background-color: #fff;
  color: #000!important;
}
section.creambg {
  background-color: var(--cream);
  color: #000!important;
}

section.navybg {background-color: var(--navy); color: #fff;}
section.lightbluebg {background-color: var(--lightblue); color: var(--navy);}
section.tealbg {background-color: var(--teal); color: #fff;}

/* .search-grid-section .assets-pagination {
    padding-bottom: 2rem; /* reset padding on sections --*
}*/



/* html section */
.html-section {
  width:100vw;
  padding-top:6rem;/* reset padding on sections */
  padding-left:2em;
  padding-right:2em;
  padding-bottom:6rem;/* reset padding on sections */
}
.html-section img {margin:2em auto;}
.html-section p img {margin:0 auto;}
.html-section:first-child {padding-top:6rem;}

@media (min-width:62em) {
  .html-section {
    padding-left: 20%; 
    padding-right: 20%;  
  }
}  
  
/* @media (min-width:75em) {
  .html-section {
    padding-left:calc(50% - 34.5em); 
    padding-right:calc(50% - 34.5em);   
  }
}  
@media (min-width:120em) {
  .html-section {
    padding-left:calc(50% - 45em); 
    padding-right:calc(50% - 45em);  
  } */
}

/* full width section */
.fw {width:100vw;padding-left:0;padding-right:0;}
.fwfh {width:100vw;padding:0;}
.pad-top:{padding-top:4em;}
.padright {padding-right:4em;}
.padbottom {padding-bottom:4em;}
.padleft {padding-left:4em;}
.fw img {max-width:100%;}
.fw img.padded {max-width:80%; margin:auto;}
.wide, .html-section.wide {width:100vw;padding-left:2em;padding-right:2em;}

/* full height section */
.fh {
  padding-top:0;
  padding-bottom:0;
}

/* reset section padding on occasion */
.tight-bottom {padding-bottom:1rem;}
.tight-top {padding-top:1rem;}
.tight-left {padding-left:0;}
.tight-right {padding-right:0;}/* two column grids used throughout site */
.two-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 2em;
  grid-row-gap:2em;
}
.two-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}
/* Tablet Breakpoint 768px / 16px = 48em */
@media (min-width:48em) {
  .two-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 4em;
    grid-row-gap:4em;
  }
  .two-col-grid h1, .two-col-grid h2 {
  }
}  
/* end 2 col grid */

/* one two column grids used throughout site */
.one-two-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap:2em;
  grid-row-gap:2em;
  align-items:auto;
}
.one-two-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}

@media (min-width:62em) {
  .one-two-grid {
    display:grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 4em;
    grid-row-gap:4em;
  }
  .one-two-grid h1, .one-two-grid h2 {
  }
}  
/* end one two grid */

/* two one column grids used throughout site */
.two-one-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap:2em;
  grid-row-gap:2em;
  align-items:auto;
}
.two-one-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}

@media (min-width:62em) {
  .two-one-grid {
    display:grid;
    grid-template-columns: 2fr 1fr;
    grid-column-gap: 4em;
    grid-row-gap:4em;
  }
  .two-one-grid h1, .two-one-grid h2 {
  }
}  
/* end two one grid */

/* 3 column grids used throughout site */
.three-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
}
.three-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}

/* Tablet Breakpoint 768px / 16px = 48em */
@media (min-width:48em) {
  .three-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 3em;
    grid-row-gap:3em;
  }
}
/*  Desktop Breakpoint 1200px / 16px = 75em*/ 
@media (min-width:75em) {
  .three-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .three-col-grid h1, .three-col-grid h2 {
  }
}  
/* end 3 col grid */

/* 4 column grids used throughout site */
.four-col-grid {
  display:grid;
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(min-content, max-content);
  grid-column-gap: 2em;
  grid-row-gap: 2em;
}
.four-col-grid article {
  display:grid;
  grid-auto-rows: minmax(min-content, max-content);
}
/*  Desktop Breakpoint 768px / 16px = 48em */ 
@media (min-width:48em) {
  .four-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2em;
    grid-row-gap:2em;
  }
}
/*  Desktop Breakpoint 1200px / 16px = 75em */   
@media (min-width:75em) {
  .four-col-grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 2em;
    grid-row-gap:2em;
  }
}  
/* end 4 col grid */
.button,
.normal-button {
  color: #fff;
  background-color: var(--navy);
  padding: 1rem 2rem;
  border-radius: 6rem;
}

.bk-button.button-outline {
  padding: 1rem 2rem;
  border-radius: 6rem;
}

.button-pill,
.edit-profile-button,
.button.normal-button {
  color: #fff;
  background-color: var(--teal);
  border: 1px solid var(--teal);
  color: var(--navy);
}

.button-pill {font-size: 1em;}

.button-pill:hover,
.edit-profile-button:hover,
.button.normal-button:hover {
  opacity: 1;
  cursor: pointer;
  background-color: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
}

.button-pill .css-icon {
  width: 2.4rem;
  height: 2.4rem;
}

/* with navybg */
.navybg .button-pill {
  border: 1px solid var(--teal);
  background-color: var(--teal);
}

.navybg .button-pill:hover,
.lightbluebg .button-pill:hover {
  border: 1px solid #fff;
  background-color: transparent;
}

/* with tealbg */
.tealbg .button-pill{
  border: 1px solid #fff;
  background-color: transparent;
}


.lightbluebg .button-pill {
  background-color: var(--navy);
}
  
.tealbg .button-pill:hover {
  border-color: transparent;
  background-color: var(--navy);
  color: #fff;
}

.log-out-button,
.login-without-password-link {
  width: 100%;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 1rem 2rem;
  margin-top: 1rem;
  border-radius: 6rem;
}

.login-without-password-link {margin: 0;}

.html-section img.icon {
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
}

#intro .link:hover img.icon {
  background-color: var(--teal);
  border-radius: 50%;
}

#intro .link {
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  gap: .5rem;
  align-items: flex-start;
  width: max-content;
  font-family: "National 2 Bold";
}

.navybg .link:hover {
  opacity: 1;
  color: var(--teal);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.cancel-button, .cancel-my-account-button, .danger-button {
  color:red; 
  text-decoration:underline; 
  background-color:#fff;}

.button-with-border {
  color: #000;;
  background-color: #fff;
  border: 1px solid #000;
}

.profile-details .change-email-button, 
.profile-details .change-password-button,
.profile-section .initials-value,
.my-history-section .initials-value,
.timeline .audit-title-link,
.index-table-link, 
.index-table-action-link {
  color: var(--teal);
}

.edit-profile-button {
  justify-content: center;
  width: 100%;
}
.normal-button.save-profile-changes-button,
.normal-button.save-profile-changes-button  {
  padding: 1rem 2rem;
}

a:hover,
.asset-add-to-basket-button:hover,
.clear-search-btn:hover {
  opacity:0.6;
}

/* asset modal button */
.asset-details-button {
border-radius: 6rem;
  padding: 1rem 2rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  font-size: 2rem;
  text-decoration: none;
  color: #fff;
  background-color: var(--teal);
}

.bk-wall .social-login-button {border-radius: 6rem;}
.close-basket-button {
    background-color: var(--navy);
    border-radius: 6rem;
}

.close-basket-button:hover, .basket-button-clear-all:hover {opacity: 0.7;}/* Albums widget */
.albums-grid .album {
  aspect-ratio:3 / 2;
} /* sets aspect ratio of album covers consistently when height is calculated */
.album-cover,.album-with-no-cover {
  border:5px solid #ccc;
}
.album-cover:hover, .album-with-no-cover:hover {
  border:5px solid var(--teal);
}
/* new album select state */
a.album-selected {
  border: none;
  box-shadow: none;
}
a.album-selected img, a.album-selected div.album-with-no-cover {
  border:5px solid var(--teal);
  box-shadow: 0 15px 25px 1px #ccc;
}
a.album-selected span.album-title {
  color:var(--teal);
  font-weight:bold;
}
/* end album select state */


@media screen and (min-width: 36em) {
    .section.albums-section {
        padding: 6rem 4rem 2rem 4rem;
    }
}

@media screen and (min-width: 62em) {
  .albums-horizontal-grid .album-wrapper {
max-width:100%;
    overflow-wrap:normal;
    flex-wrap:wrap;
  }
}

/* carousel */
section.carousel-section {    
  position: relative;    
  line-height: 0;    
  height: 100%;    
  padding: 0;    
}

/* image overlay */
section.carousel-section .carousel-slide::after {
  content: '';
  background: linear-gradient(360deg, rgba(27, 50, 79, 1) 0%, rgba(27, 50, 79, 0) 100%);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}

.carousel-container {    
  display: flex;    
  transition: transform 1s ease;
} 

.carousel-slide {    
  flex: 0 0 100%; /* Ensure each slide takes full width */
  position: relative;
}

.carousel-slide img {    
  width: 100%;
  margin: 0 auto;
}

/* left and right navigation (hidden) */
.prev,.next {    
  position: absolute;    
  top: 0;    
  background-color: red;    
  cursor: pointer;    
  height: 94.5%;    
  width: 10%;    
  z-index: 2;    
  opacity: 0;
}

.prev {    
  left: 0;
}

.next {    
  right: 0;
}

/* slide indicators */
.carousel-dots {  
  position: absolute;  
  bottom: 12%;   
  left: 50%;  
  transform: 
  translateX(-50%); /* Corrects horizontal centering */
  z-index: 2;
}

.dot {    
  display: inline-block;    
  width: 10px;    
  height: 10px;    
  background-color: #ccc;    
  border-radius: 50%;    
  margin: 0 5px;    
  cursor: pointer;
}

/* active slide indicator */
.dot.active {    
opacity: 100%;
}

/* inactive slide indicator */
.dot:not(.active) {    
opacity: 50%;
}

.caption {
  position: relative;
  bottom: 4rem;
  left: 2rem;
  z-index: 2;
  text-decoration: none;
  color: #fff;
  opacity: 0.7;
  margin-bottom: -1.6rem;
}

.carousel-hero-text {
  position: relative;
  width: 100%;
  margin-top: calc(-100vw / 3);
  height: calc(100vw / 3);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 1;
  line-height: 1.6;
}

@media screen and (min-width: 62em){
  .carousel-hero-text {
    display: flex;
  }
}

/* fixes stacking with carousel */
.cookies-preferences-section-overlay {z-index: 2;}/* move searchbox up over carousel 
#searchbox.search-box-section.desktop {
  position: relative;  
  width: 100%;
  /* position down from top amount of main padding / navbar height 
  margin-top: calc(3rem + (-100vw/2.21));
  /* calculate height by aspect ratio of carousel images, so it's the same size
  height: calc(100vw/2.21);
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.desktop .search-box-component {
  width: 60%;
  pointer-events: auto;
}

.search-box-content {
  justify-content: flex-end;
}

.mobile .search-box-content {
  justify-content: center;
}

.search-box-content-text {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    max-width: 60%;
    text-align: left;
}

.search-box {border-radius: 6rem;}
.search-box-input::placeholder {
  font-style: italic;
  font-size: 1.4rem;
}

@media screen and (max-width: 36em) {.search-box input{font-size: 80%;}}

/* Styles for the 'assets-button' --*
.assets-button {
  outline: none;
  border-radius: 6rem;
  border: 2px #fff solid;
  background-color: var(--teal);
  color: inherit;
}

/* Hover effect --*
.assets-button:hover {
  opacity: 0.7;
}

.clear-search-button {
  width: 6rem;
  border-radius: 6rem;  
  background-color: var(--teal);  
  border: 2px solid #fff;  
  color: #fff;
}

/* filters --*
.filters{
  justify-content: center;
}

.filter-options {
  z-index: 2
}

.filter-options .filter-option:hover {
  color: #fff;
  background-color: var(--teal);
}

.filter-options .filter-option.selected {
  font-weight: bold;
  background-color: transparent;
  color: #111;
}

.filter-button:hover {
  opacity: 0.7
}

.search-param {background-color: var(--navy);}
.meta-search-param {
    background-color: #fff;
    color: var(--navy);
    outline: 1px solid var(--navy);
}
/* show the Search label and the And/Or toggle in the Search Grid - check render colour in each theme --*
label.search-label {display:block; margin-left: 3rem;}#subscribe {
background-color:var(--teal);
    color:#fff;
}
.yt-container, .video-container {
    display: flex;
    justify-content: center;
}
    
.yt-container iframe, .video-container video {
    aspect-ratio: 16 / 9;
    width: 100% !important;
}
